package com.example.module_word.room.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class MyStack {
    @PrimaryKey(autoGenerate = true)
    private int id;
    private String kind;
    private boolean flag;//true则下次进入时默认选中

    public MyStack(String kind, boolean flag) {
        this.kind = kind;
        this.flag = flag;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }
}
